type Query {
    findAll: [Users]
    findByLogin(login: String): Users
}

type Users {
    id: ID!
    login: String!
    name: String!
    email: String!
    authorities: [Authority]!
}

type Authority {
    name: EAuthority
}

enum EAuthority {
    AUTHORITY_READ
    AUTHORITY_WRITE
}